﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

//Write a program that prints all possible cards from a standard deck of 52 cards (without jokers). The cards should be printed with their English names. Use nested for loops and switch-case.

namespace _11CardsFromStandardDeck
{
    class _11CardsFromStandardDeck
    {
        static void Main(string[] args)
        {
            Console.WriteLine("The cards in a stnadard deck of 52 are:");
            string color = "Clubs";
            for (int y = 2; y <= 5; y++)
            {
                for (int i = 1; i <= 13; i++)
                {
                    switch (i)
                    {
                        case 1: Console.WriteLine("Ace of {0}", color); break;
                        case 2: Console.WriteLine("Two of {0}", color); break;
                        case 3: Console.WriteLine("Three of {0}", color); break;
                        case 4: Console.WriteLine("Four of {0}", color); break;
                        case 5: Console.WriteLine("Five of {0}", color); break;
                        case 6: Console.WriteLine("Six of {0}", color); break;
                        case 7: Console.WriteLine("Seven of {0}", color); break;
                        case 8: Console.WriteLine("Eight of {0}", color); break;
                        case 9: Console.WriteLine("Nine of {0}", color); break;
                        case 10: Console.WriteLine("Ten of {0}", color); break;
                        case 11: Console.WriteLine("Jack of {0}", color); break;
                        case 12: Console.WriteLine("Queen of {0}", color); break;
                        case 13: Console.WriteLine("King of {0}", color); break;
                    }
                }
                if (y == 2)
                {
                    color = "Diamonds";
                }
                else if (y == 3)
                {
                    color = "Hearts";
                }
                else if (y == 4)
                {
                    color = "Spades";
                }
                Console.WriteLine();
            }
            
        }
    }
}
